package com.qinyu.treehole.service;

import javax.mail.MessagingException;

public interface EmailService {

    void sendSimpleMail(String to, String subject, String content);

    void sendHtmlMail(String to, String subject, String content) throws MessagingException;

    boolean sendActiveHtmlMail(String to, String code);
}
